package com.java.singleton;

public class Student {
	// 属性
	private String stuName;
	private int stuAge;
	private String stuSex;

	// 行为
	public void dostuding() {
		System.out.println(stuName + " is suding...   ");
	}
	// setter,getter

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public int getStuAge() {
		return stuAge;
	}

	public void setStuAge(int stuAge) {
		this.stuAge = stuAge;
	}

	public String getStuSex() {
		return stuSex;
	}

	public void setStuSex(String stuSex) {
		this.stuSex = stuSex;
	}

}
